package com.example.mumu.passwordbook.domain;

import java.io.Serializable;

/**
 * 用户账户
 */
public class Account implements Serializable{

    private int id;
    /**
     * 图标
     */
    private IconEnum icon;
    /**
     * 类别
     */
    private TypeEnum type;
    /**
     * 账号名
     */
    private String name;

    /**
     * 用户名
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 备注
     */
    private String remark;

    public Account(int id, IconEnum icon, TypeEnum type, String name, String username, String password, String remark) {
        this.id = id;
        this.icon = icon;
        this.type = type;
        this.name = name;
        this.username = username;
        this.password = password;
        this.remark = remark;
    }

    public Account() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public IconEnum getIcon() {
        return icon;
    }

    public void setIcon(IconEnum icon) {
        this.icon = icon;
    }

    public TypeEnum getType() {
        return type;
    }

    public void setType(TypeEnum type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
